* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  background: #f5f5f5;
  font-family: Microsoft Yahei;
  font-size: 14px;
  min-width: 1000px;
}

header {
  height: 90px;
  background: white;
  display: flex;
  align-items: center;
}

.header-inner,
main {
  width: 1200px;
  margin: auto;
}
.tag-list {
  height: 30px;
  text-align: center;
  margin-bottom: 10px;
}
.tag-item {
  display: inline-block;
  padding: 0 50px;
  line-height: 26px;
  color: #000;
  text-decoration: none;
}
.tag-active {
  color: green;
}
.tag-item:hover {
  color: green;
}
.iconplay
{
padding: 5px 10px;
border: 1px dotted black;
text-align: start;
}
.iconplay:hover{
  background-color: aquamarine;
}
.cover-mask {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0; 
  transition: all 0.5s;
}
.cover-play {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -35px;
  margin-top: -35px;
  opacity: 0; 
  transform: scale(0.5); 
  transition: all 0.5s;
}
.cover-wrap:hover .cover-mask {
  opacity: 0.2;
}
.cover-wrap:hover .cover-play {
  opacity: 1;
  transform: scale(1);
}

.cover-wrap:hover .cover-img1 {
  transform: scale(1.07);
}
.cover-wrap:hover .cover-img2 {
  transform: scale(1.07);
}
.cover-wrap:hover .cover-img3 {
  transform: scale(1.07);
}

.section1 {
  margin-bottom: 60px;
}
.section1 h2 {
  text-align: center;
  font-size: 22px;
  letter-spacing: 4px;
  color: #222;
  padding: 18px;
}
.cover-img1 {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: all 0.75s;
}

.playlist-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.playlist {
  flex: 1;
  min-width: 200px;
  background: #fafafa;
  overflow: hidden;
  transition: transform 0.2s;
}
.playlist .cover-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: pointer;
}

.playlist .info {
  padding: 12px 10px;
  font-size: 13px;
}

.playlist .title {
  color: #333;
  line-height: 1.4;
  height: 22px;
  overflow: hidden;
  text-decoration: none;
}
.title:hover {
  color: green;
}
.playlist .count {
  color: #999;
}


.section2 {
  background: #fff;
  border-radius: 8px;
  padding: 20px 10px;
}
.section2 h2 {
  text-align: center;
  font-size: 22px;
  color: #222;
  letter-spacing: 4px;
  margin-bottom: 22px;
}
.new-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.song-item {
  display: flex;
  align-items: center;
  background: #f9fafb;
  border-radius: 6px;
  padding: 12px 0;
}
.song-item .cover-wrap {
  display: flex;
  position: relative;
  overflow: hidden;
  width: 65px;
  margin-right: 15px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
}
.cover-img2 {
  width: 65px;
  height: 65px;
  object-fit: cover;
  transition: all 0.75s;
}
.song-info {
  flex: 1;
}
.song-title {
  font-size: 14px;
  color: #222;
  margin-bottom: 4px;
}
.song-title:hover {
  color: green;
}
.song-artist {
  color: #888;
  font-size: 13px;
}
.song-time {
  color: #999;
  font-size: 15px;
  text-align: right;
  margin-right: 5px;
}

.section3 {
  margin-top: 60px;
}
.section3 h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 24px;
  color: #222;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.mv-item {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.mv-item .cover-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: pointer;
}
.cover-img3 {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: all 0.75s;
}
.mv-meta {
  padding: 10px;
}
.mv-name {
  font-size: 14px;
  color: #222;
  white-space: nowrap;/* 禁止文本换行（强制单行显示） */
  overflow: hidden;/* 隐藏超出容器边界的内容 */
  text-overflow: ellipsis;/* 文本溢出时显示省略号（...） */
}
.mv-name:hover {
  color: green;
}
.mv-singer {
  color: #888;
  font-size: 13px;
}
.mv-views {
  font-size: 12px;
  color: #999;
}
footer {
  margin-top: 60px;
  background: #333;
  height: 200px;
}
